package com.joker.service;

import com.joker.dao.BookMapper;
import com.joker.pojo.Book;
import org.springframework.stereotype.Service;

@Service
public class BookServiceImpl implements BookService{
    public BookMapper bookMapper;
    public void setBookMapper(BookMapper bookMapper){
        this.bookMapper=bookMapper;
    }
    @Override
    public int addbook(Book book) {
        return bookMapper.addbook(book);
    }
}
